Skip to content

Conversation

@nerolation
Copy link
Collaborator

What was wrong?

Related to Issue ethereum#1434

The problem was that CALLCODE and DELEGATECALL operations were not tracking the code_address as the TargetContract in the block access list.

How was it fixed?

The TargetContract should be the address whose code is being executed, not the current contract address. I've added track_address_access calls for the code_address in both callcode() (line 497) and delegatecall() (line 637) functions to properly track these accesses.

@cr-gpt
Copy link

cr-gpt bot commented Sep 22, 2025

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

Copy link
Owner

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm this passes the EEST tests in ethereum/execution-spec-tests#2182

@fselmo fselmo merged commit b8ad380 into fselmo:feat/amsterdam-fork-and-block-access-lists Sep 22, 2025
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants